﻿<link href="@Url.Content("~/content/activitie_detail.css")" rel="stylesheet" type="text/css"/>
<link href="@Url.Content("~/content/table_btn.css")" rel="stylesheet" type="text/css"/>

<!--[if lt IE 8]>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
<![endif]-->

<noscript>
    <link href="@Url.Content("~/content/activitie_create.css")" rel="stylesheet" type="text/css"/>
    <link href="@Url.Content("~/content/activitie_noscript.css")" rel="stylesheet" type="text/css"/>
</noscript>

@model PessModel.ExpertGroup

@{
    ViewBag.Title = "Details";
}

<h2>评委组详细信息</h2>
<div id="operate">
    @Html.ActionLink("创建评委", "Create", "ExpertJudge", new {ExpertGroupID=Model.ID }, null)&#8195;
    @Html.ActionLink("编辑评委组信息", "Edit", new { id=Model.ID }) &#8195;
    @Html.ActionLink("返回评委组列表", "Index", "ExpertGroup", new {activityID=Model.Subject.ActivityID },null)




</div>

<fieldset class="show">
    <legend></legend>
    <div class="editor-label">
         @*@Html.DisplayNameFor(model => model.Callsign)*@评委组名称：
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model => model.Callsign)
    </div>

    <div class="editor-label">
        @* @Html.DisplayNameFor(model => model.Subject.Name)*@学科组：
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model => model.Subject.Name)
    </div>

    <div class="editor-label">
         @*@Html.DisplayNameFor(model => model.LeaderID)*@组长ID：
    </div>
    <div class="editor-field">
        @Html.DisplayFor(model => model.LeaderID)
    </div>
    <div>
        @Html.Partial("_ExpertJudgesPartial",Model.ExpertJudges.ToList().ToExpertJudgeModelList())
    </div>

@*@{
    var grid = new WebGrid(Model.ExpertJudges);
}
@grid.GetHtml(columns:grid.Columns(
grid.Column("SerialNumber",header:"评委编号"),
grid.Column("RealName",header:"真实姓名"),
grid.Column("Gender",header:"性别"),
grid.Column("Birthdate",header:"出生年月"),
grid.Column("Phone",header:"电话")    
))*@

</fieldset>

@*<table>
    <tr>
        <th>
            SerialNumber
        </th>
        <th>
            RealName
        </th>
    </tr>
    @foreach (var exp in Model.ExpertJudges)
    {
        <tr>
            <td>@exp.SerialNumber</td>
            <td>@exp.RealName</td>
        </tr>
    }
</table>*@

<script language="javascript">
    document.getElementsByTagName("table")[0].className = "oddTable";
    document.getElementsByTagName("table")[0].id = "showDetail";
</script>
